import 'package:json_annotation/json_annotation.dart';

part 'AppTokenInfo.g.dart';

@JsonSerializable()
class AppTokenInfo {
  int? id;

  String? nickName;

  String? phone;

  int? lastTouchTime;

  int? loginTime;

  Map<String, dynamic> toJson() {
    return _$AppTokenInfoToJson(this);
  }

  static AppTokenInfo fromJson(Map<String, dynamic> json) {
    return _$AppTokenInfoFromJson(json);
  }

  @override
  String toString() {
    return 'AppTokenInfo{id: $id, nickName: $nickName, phone: $phone, lastTouchTime: $lastTouchTime, loginTime: $loginTime}';
  }
}
